package com.ruoyi.business.service;

import java.util.List;
import com.ruoyi.business.domain.JtWarehouse;
import com.ruoyi.business.domain.vo.JtWarehouseVo;

/**
 * 仓库Service接口
 * 
 * @author Alan Zhang
 * @date 2025-03-29
 */
public interface IJtWarehouseService 
{
    /**
     * 查询仓库
     * 
     * @param warehouseId 仓库主键
     * @return 仓库
     */
    public JtWarehouse selectJtWarehouseByWarehouseId(Long warehouseId);

    /**
     * 查询仓库列表
     * 
     * @param jtWarehouse 仓库
     * @return 仓库集合
     */
    public List<JtWarehouse> selectJtWarehouseList(JtWarehouse jtWarehouse);

    /**
     * 新增仓库
     * 
     * @param jtWarehouse 仓库
     * @return 结果
     */
    public int insertJtWarehouse(JtWarehouse jtWarehouse);

    /**
     * 修改仓库
     * 
     * @param jtWarehouse 仓库
     * @return 结果
     */
    public int updateJtWarehouse(JtWarehouse jtWarehouse);

    /**
     * 批量删除仓库
     * 
     * @param warehouseIds 需要删除的仓库主键集合
     * @return 结果
     */
    public int deleteJtWarehouseByWarehouseIds(String warehouseIds);

    /**
     * 删除仓库信息
     * 
     * @param warehouseId 仓库主键
     * @return 结果
     */
    public int deleteJtWarehouseByWarehouseId(Long warehouseId);

    /**
     * 查询仓库信息
     * @param status
     * @return
     */
    public List<JtWarehouseVo> selectJtWarehouseByStatus(Integer status);
}
